LocalDate localDate = LocalDate.now();//For reference DateTimeFormatter formatter = DateTimeFormatter.ofPattern("dd LLLL yyyy"); String formattedString = localDate.format(formatter);